package com.azure;

import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.core.util.StatusPrinter;
import org.slf4j.*;

public class HelloWord {
    private static final Marker COLLECTED_MARKER = MarkerFactory.getMarker("test_marker");

    public static void main(String[] args) {
//        Logger logger = LoggerFactory.getLogger(HelloWord.class);
        Logger logger = LoggerFactory.getLogger("aaa");

//        try(MDC.MDCCloseable closeable = MDC.putCloseable("tes", "323")) {
//            logger.info("hello word");
//            logger.error("error hello world");
//            logger.error(COLLECTED_MARKER,"test marker");
//        }
        logger.trace("test");


//        LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
//        StatusPrinter.print(lc);

//        ch.qos.logback.classic.Logger logger = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger("com.foo");
//        logger.setLevel(Level. INFO);
//
//
//        Logger x = LoggerFactory.getLogger("wombat");
//        Logger y = LoggerFactory.getLogger("wombat");
//        Logger barlogger = LoggerFactory.getLogger("com.foo.Bar");
//        logger.warn("Low fuel level.");
//
//        logger.debug("Starting search for nearest gas station.");
//
//
//        barlogger.info("Located nearest gas station.");
//
//        barlogger.debug("Exiting gas station search");
    }
}
